﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LprMiddleWare.HangWang
{
    public enum DeviceStatus
    {
        Connected, DisConnected
    }

    public class DeviceStatusEventArgs : EventArgs
    {
        public DeviceStatusEventArgs(
            string deviceId,
            System.Net.IPAddress ip,
            DeviceStatus status)
        {
            DeviceId = deviceId;
            Ip = ip;
            Status = status;
        }

        public string DeviceId { get; private set; }
        public System.Net.IPAddress Ip { get; private set; }
        public DeviceStatus Status { get; private set; }

    }
}
